﻿<?php
include 'config.php';
$sql = "select * from puhuiwww.shopwwi_article where article_id = ".$_GET['gonggao_id'] ;
$query = mysql_query($sql);
$rs = mysql_fetch_array($query);

$date=date('Y-m-d',$rs['article_time']);

//session_unset($_SESSION['views']);

?>

<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../../css/base.css">
<link rel="stylesheet" type="text/css" href="../../css/nctouch_member.css">
<script type="text/JavaScript">
        window.onload = function(){
              var img = document.getElementById("img");
			  
                img.onclick= function(){
			window.resizeTo(1000,3000);		
                    if(this.width == 200 && this.height == 200){
                        this.width *=3;
                        this.height *= 3;
                    }else{
                        this.width = 200;
                        this.height = 200;
                    }
                }
        };
    </script>
<style>
body {height:1000px; }
</style>
</head>
<body>
<header id="header" class="fixed">
  <div class="header-wrap">
    <div class="header-l"><a href="member.html"><i class="back"></i></a></div>
    <div class="header-title">
      <h1>公告内容</h1>
    </div>
    <div class="header-r"> <a id="header-nav" href="javascript:void(0);"><i class="more"></i><sup></sup></a> </div>
  </div>
  <div class="nctouch-nav-layout">
    <div class="nctouch-nav-menu"> <span class="arrow"></span>
      <ul>
        <li><a href="../../index.html"><i class="home"></i>首页</a></li>
        <li><a href="../search.html"><i class="search"></i>搜索</a></li>
        <li><a href="member.html"><i class="member"></i>个人中心</a><sup></sup></li>
        <li><a href="javascript:void(0);"><i class="message"></i>消息<sup></sup></a></li>
      </ul>
    </div>
  </div>
 <div>
	<h1 align="center"><?php echo $rs['article_title']; ?></h1>
</div>
  <div style="margin-left:10px;padding:10px;height:1000px; ">
	<?php echo $rs['article_content']; ?>
</div>
</header>




</body>
</html>
